home *** CD-ROM | disk | FTP | other *** search
- eye 5 2 2
- at 0 0 0
- up 0 1 0
- fov 20
-
- background 0.2 0.5 0.7 % light sky blue
- ambient mono 0.1 % dark grey
-
- light point 3 5 4 white
-
- %%%%% a simple CSG example
- surface matte red
- csg subtraction begin
- csg subtraction % of a box
- surface matte white % attributes of the
- texture scale 0.2 % CSG object
- checkers surface matte mono 0.3 translate 0.1 0.1 0.1
- data begin
- box 0 0 0 1 1 1
- csg next % with another box and cylinder
- box 0 0 0 1.01 0.5 0.5
- cylinder 0 2 0 0 -2 0 0.5
- csg end
- csg next % and with 4 spheres
- sphere 1 1 1 0.5
- sphere surface matte blue data 1 -1 1 0.5
- sphere 1 1 -1 0.5
- sphere surface matte blue data 1 -1 -1 0.5
- csg end
-
- %%%%% some text
- text3d file surface matte yellow data csg.t3d % text data is in file
-
- % that is all, folks
-